auth : ./src/apps/auth/auth.go
	cd ./src/apps/auth/ && go build -o ../../../bin/auth  auth.go && cd ../../.. && mv ./bin/auth ./bin/auth.exe


gateway : ./src/apps/gateway/gateway.go
	cd ./src/apps/gateway/ && go build -o ../../../bin/gateway   gateway.go && cd ../../.. && mv ./bin/gateway ./bin/gateway.exe

chat : ./src/apps/chat/chat.go
	cd ./src/apps/chat/ && go build -o ../../../bin/chat   chat.go && cd ../../.. && mv ./bin/chat ./bin/chat.exe

compose: ./bin/apisvr.exe
	docker build -t apisvr:0.0.1 .
	docker tag apisvr:0.0.1 10.10.10.108:5000/apisvr
	docker push 10.10.10.108:5000/apisvr

clean :
	rm -rf ./bin/*